<%-------------------------------------------------------------------
 * 页面名称：netBankInpour_2.jsp
 * 功能描述：网上银行充值－确认充值信息
 * Action  : netBankInpour
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="struts-html.tld" prefix="html"%>
<%@ taglib uri="struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="struts-logic.tld" prefix="logic"%>
<%@ taglib uri="struts-bean.tld" prefix="bean"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%
	String path = request.getContextPath();
%>
<script language="javascript" src="<%=path%>/js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="<%=path%>/js/PassGuardCtrl.js"></script>
<script type='text/javascript' src='<%=path%>/js/demo.js'></script>
<script language="JavaScript" type="text/JavaScript">
	function dosubmit(btnObj){
		if(btnObj!=undefined) btnObj.disabled = true;
		document.NetBankInpourForm.submit();
	}
	function doback(){
		document.NetBankInpourForm.step.value = "0";
		document.NetBankInpourForm.target = "_self";
		document.NetBankInpourForm.submit();
	}
</script>
<div id="main">
	<div class="content_right">
		<div style="width:745px;margin-left:10px;">
			<div class="titleinfo">
				网上银行充值
			</div>
			<div class="edit_pass">
				<table width="100%" border="0" align="center" cellpadding="5"
					cellspacing="0" class="blueborder">
					<html:form action="netBankInpour" method="post" target="_blank">
						<input name="merchantId" type="hidden"
						value="<bean:write name="subAccount" property="account.accountId" />">
					<input name="merchantUrl" type="hidden"
						value="/route.do?modual=inpour_draw$netBank$response">
					<input name="currencyType" type="hidden" value="CNY">
					<!-- 人民币 -->
					<input name="responseMode" type="hidden" value="1">
					<!-- 页面方式响应 -->
					<input name="assuredPay" type="hidden" value="false">
					<!-- 非担保交易 -->
					<input name="remark" type="hidden" value="">
					<!-- 备注 -->
					<html:hidden property="actionType" />
					<html:hidden property="step" />
						<tr>
							<td width="50%" align="right" height="35px;">
								充值子账户：
							</td>
							<td width="50%" class="fontgraydrop14" height="35px;">
								<bean:write name="subAccount" property="accountName" />
								<html:hidden property="subAccountId" />
							</td>
						</tr>
						<tr>
							<td align="right" height="35px;">
								充值子账户当前余额：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<span id="debitSubAccountBalanceSpan" class="orangefont14b">
									<ad:FormatPrase>
										<bean:write name="subAccount"
											property="accountBalance.balance" />
									</ad:FormatPrase> </span> 元
							</td>
						</tr>
						<tr>
							<td align="right" height="35px;">
								充值金额：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<bean:parameter id="amount" name="amount" />
								<span id="debitSubAccountBalanceSpan" class="orangefont14b"><ad:FormatPrase>
										<bean:write name="amount" />
									</ad:FormatPrase> </span> 元
								<html:hidden property="amount" />
							</td>
						</tr>
						<tr>
							<td align="right" height="35px;">
								手续费：
							</td>
							<td class="fontgraydrop14" height="35px;">
								<span id="debitSubAccountBalanceSpan" class="orangefont14b">
									<ad:FormatPrase>
										<bean:write name="fee" />
									</ad:FormatPrase> </span> 元
							</td>
						</tr>
						<tr>
							<td align="right" height="35px;">
								选择的网上银行：
							</td>
							<td class="fontgraydrop14">
								<img alt="<bean:write name="bank" property="bankName" />"
									src="<%=path%>/images/bank/logo/logo_<bean:write name="bank" property="linkCode" />.gif" />
								<html:hidden property="bankId" />
								<input type="hidden" name="bankCode"
									value="<bean:write name="bank" property="bankCode" />" />
							</td>
						</tr>
					</html:form>
				</table>
				<table width="100%" height="55" border="0" cellpadding="0"
					cellspacing="0">
					<tr>
						<td align="center">
							<font color="#FF0000"><html:errors />
							</font>
						</td>
					</tr>
					<tr>
						<td align="center">
							<input name="previous" type="button" class="button_style"
								onclick="doback();" value="上一步" />
							<input name="confirm" type="button" class="button_style"
								onclick="dosubmit(this);" value="确 定"
								onclick="dosubmit(this);/>
						</td>
					</tr>
					<tr>
						<td colspan="2" align="right">
					
						</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>
